import requests

handers = {
    'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36'
}
session = requests.session()

data = {
    'userNo': 'LM100000',
    'password': '123456'
}

r = session.post('http://192.168.1.24:9999/lanlinker-uims/user/exists', headers=handers, data=data)

print(r.status_code)

response = session.get('http://192.168.1.24:8094/#/enterprise', headers=handers)
with open('zh.html', 'w', encoding='utf-8') as f:
    f.write(response.content.decode())
